from DrissionPage import Chromium

browser = Chromium()
tab = browser.latest_tab

tab.get('http://www.baidu.com')
ele = tab.ele('#kw')
ele.input('DrissionPage')

tab('#chat-submit-button').click()
links = tab.eles('tag:h3')

for link in links:
    print(link.text)

